projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea1af9f
)
sunxi: Enable SMP mode for the boot CPU on sun9i (A80)
author
Philipp Tomsich
<
[email protected]
>
Fri, 28 Oct 2016 10:21:30 +0000
(18:21 +0800)
committer
Hans de Goede
<
[email protected]
>
Sun, 30 Oct 2016 10:38:04 +0000
(11:38 +0100)
Since the A80 has many cores which we intend to use in SMP fashion,
we should set the SMP bit for the boot CPU.
[
[email protected]
: Added commit message]
Signed-off-by: Chen-Yu Tsai <
[email protected]
>
Acked-by: Hans de Goede <
[email protected]
>
Signed-off-by: Hans de Goede <
[email protected]
>
arch/arm/mach-sunxi/board.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-sunxi/board.c
b/arch/arm/mach-sunxi/board.c
index 7713813a68a8e6ee99beafaff1ce358973b197b3..0f8ead980cdc03a30765f330cd46be402a7310ee 100644
(file)
--- a/
arch/arm/mach-sunxi/board.c
+++ b/
arch/arm/mach-sunxi/board.c
@@
-182,7
+182,8
@@
void s_init(void)
#if defined CONFIG_MACH_SUN6I || \
defined CONFIG_MACH_SUN7I || \
- defined CONFIG_MACH_SUN8I
+ defined CONFIG_MACH_SUN8I || \
+ defined CONFIG_MACH_SUN9I
/* Enable SMP mode for CPU0, by setting bit 6 of Auxiliary Ctl reg */
asm volatile(
"mrc p15, 0, r0, c1, c0, 1\n"